<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>AutoIt</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/AutoIt"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-AutoIt rootpage-AutoIt skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">AutoIt</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1295905060">
/* start https://en.wikipedia.org/ */
.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}
/* end https://en.wikipedia.org/ */
</style><table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above" style="background-color:#e0e0e0;">AutoIt</th></tr><tr><td colspan="2" class="infobox-image"><span typeof="mw:File"></span></td></tr><tr><td colspan="2" class="infobox-image"><span typeof="mw:File"></span></td></tr><tr><th scope="row" class="infobox-label"><a href="Programming_paradigm" title="Programming paradigm">Paradigm</a></th><td class="infobox-data"><a href="Imperative_programming" title="Imperative programming">imperative</a>, <a href="Functional_programming" title="Functional programming">functional</a>, <a href="Procedural_programming" title="Procedural programming">procedural</a>, <a href="Reflective_programming" title="Reflective programming">reflective</a></td></tr><tr><th scope="row" class="infobox-label"><a href="Software_design" title="Software design">Designed by</a></th><td class="infobox-data">Jonathan Bennett</td></tr><tr><th scope="row" class="infobox-label"><a href="Software_developer" class="mw-redirect" title="Software developer">Developer</a></th><td class="infobox-data organiser">AutoIt Consulting Ltd.</td></tr><tr><th scope="row" class="infobox-label">First appeared</th><td class="infobox-data">January 1999<span style="display:none"> (<span class="bday dtstart published updated">1999-01</span>)</span></td></tr><tr><td colspan="2" class="infobox-full-data"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">3.3.16.1
/ September 19, 2022<span style="display:none"> (<span class="bday dtstart published updated">2022-09-19</span>)</span><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></div></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle#Beta" title="Software release life cycle">Preview release</a></th><td class="infobox-data"><div style="margin:0px;"> 3.3.16.1 <a href="Release_candidate" class="mw-redirect" title="Release candidate">RC</a>2
/ June 9, 2022<span style="display:none"> (<span class="bday dtstart published updated">2022-06-09</span>)</span><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup></div></td></tr><tr style="display:none"><td colspan="2">
</td></tr><tr><th scope="row" class="infobox-label"><a href="Computing_platform" title="Computing platform">Platform</a></th><td class="infobox-data"><a href="IA-32" title="IA-32">IA-32</a> and <a href="X64" class="mw-redirect" title="X64">x64</a></td></tr><tr><th scope="row" class="infobox-label"><a href="Operating_system" title="Operating system">OS</a></th><td class="infobox-data"><a href="Windows_XP_SP3" class="mw-redirect" title="Windows XP SP3">Windows XP SP3</a> and later<br><a href="Windows_Server_2003" title="Windows Server 2003">Windows Server 2003</a> and later</td></tr><tr><th scope="row" class="infobox-label"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="Freeware" title="Freeware">Freeware</a></td></tr><tr><th scope="row" class="infobox-label"><a href="Filename_extension" title="Filename extension">Filename extensions</a></th><td class="infobox-data">.au3</td></tr><tr><th scope="row" class="infobox-label">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://www.autoitscript.com">www<wbr>.autoitscript<wbr>.com</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #EEEEEE;">Influenced by</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="BASIC" title="BASIC">BASIC</a></td></tr></tbody></table>
<p><b>AutoIt</b> <span class="rt-commentedText nowrap"><span class="IPA nopopups noexcerpt" lang="en-fonipa">/<span style="border-bottom:1px dotted"><span title="/ɔː/: 'au' in 'fraud'">ɔː</span><span title="'t' in 'tie'">t</span><span title="/oʊ/: 'o' in 'code'">oʊ</span></span><span class="wrap"> </span><span style="border-bottom:1px dotted"><span title="/ɪ/: 'i' in 'kit'">ɪ</span><span title="'t' in 'tie'">t</span></span>/</span></span><sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> is a <a href="Freeware" title="Freeware">freeware</a> <a href="Programming_language" title="Programming language">programming language</a> for <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a>. In its earliest release, it was primarily intended to create <a href="Automation" title="Automation">automation</a> scripts (sometimes called <a href="Macro_(computer_science)" title="Macro (computer science)">macros</a>) for Microsoft Windows programs<sup id="cite_ref-Kaplan000_4-0" class="reference"><a href="#cite_note-Kaplan000-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> but has since grown to include enhancements in both programming language design and overall functionality.
</p><p>The <a href="Scripting_language" title="Scripting language">scripting language</a> in AutoIt 1 and 2 was statement-driven and designed primarily for simulating user interaction. From version 3 onward, the AutoIt syntax is similar to that found in the <a href="BASIC" title="BASIC">BASIC</a> family of languages. In this form, AutoIt is a general-purpose, <a href="Third-generation_programming_language" title="Third-generation programming language">third-generation programming language</a> with a classical data model and a <a href="Variant_type" class="mw-redirect" title="Variant type">variant data type</a> that can store several types of data, including arrays.
</p><p>An AutoIt automation script can be converted into a compressed, stand-alone executable which can be run on computers even if they do not have the AutoIt interpreter installed. A wide range of function libraries (known as UDFs, or "User Defined Functions")<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> are also included as standard or are available from the website to add specialized functionality. AutoIt is also distributed with an <a href="Integrated_development_environment" title="Integrated development environment">IDE</a> based on the free <a href="SciTE" title="SciTE">SciTE</a> editor. The compiler and help text are fully integrated and provide a <i>de facto</i> standard environment for developers using AutoIt.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="History">History</h2></div>
<div style="max-width:325px; clear:right; float:right;">
<style data-mw-deduplicate="TemplateStyles:r1212047051">
/* start https://en.wikipedia.org/ */
.mw-parser-output .release-timeline{padding:.75em 1em;font-size:85%;line-height:.9;border-collapse:separate;border-spacing:0 1px;background-color:transparent}.mw-parser-output .release-timeline>caption{padding:.4em .4em .2em;font-size:112.5%}.mw-parser-output .release-timeline .rt-subtitle{padding-top:.3em;font-size:90%;font-weight:normal}.mw-parser-output .release-timeline td,.mw-parser-output .release-timeline th{border:none;padding:.4em;background:none;font:inherit;color:inherit}.mw-parser-output .release-timeline td{text-align:left}.mw-parser-output .release-timeline th{text-align:right}.mw-parser-output .release-timeline .rt-first{padding:.4em .4em .2em}.mw-parser-output .release-timeline .rt-next,.mw-parser-output .release-timeline .rt-last{padding:.2em .4em}@media(min-width:720px){.mw-parser-output .release-timeline{float:right;clear:right;margin:.5em 0 .5em 1.4em}.mw-parser-output .rt-left{float:left;clear:left;margin:.5em 1.4em .5em 0}.mw-parser-output .release-timeline caption{white-space:nowrap}}
/* end https://en.wikipedia.org/ */
</style><table class="release-timeline wikitable"><caption>Release timeline</caption><tbody><tr><th scope="row" rowspan="3" style="border-right:1.4em solid #0BDA51">1999</th><td class="rt-first">January: First AutoIt Version (1.0)</td></tr><tr><td class="rt-next">August: AutoIt v2 and AutoItX</td></tr><tr><td class="rt-last">September: First AutoIt version with Compiler</td></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2000</th></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2001</th></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2002</th><td>December: AutoIt v3 (Public Beta)</td></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2003</th></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2004</th><td>February: AutoIt v3 (Stable)</td></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2005</th></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2006</th><td>September: Auto3Lib started</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2007</th><td>November: AutoIt v3.2.10.0 released, Auto3Lib incorporated into AutoIt v3</td></tr><tr><th scope="row" rowspan="2" style="border-right:1.4em solid #0BDA51">2008</th><td class="rt-first">May: AutoIt v3.2.12.0 released, incorporating added GUI functionality</td></tr><tr><td class="rt-last">December: AutoIt (and AutoItX) v3.3.0.0 released</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2009</th><td>December: AutoIt v3.3.2.0 released</td></tr><tr><th scope="row" rowspan="3" style="border-right:1.4em solid #0BDA51">2010</th><td class="rt-first">January: AutoIt v3.3.4.0 released</td></tr><tr><td class="rt-next">March: AutoIt v3.3.6.0 released</td></tr><tr><td class="rt-last">April: AutoIt v3.3.6.1 released</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2011</th><td>December: AutoIt v3.3.8.0 released</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2012</th><td>January: AutoIt v3.3.8.1 released</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2013</th><td>December: AutoIt v3.3.10.0 released</td></tr><tr><th scope="row" style="border-right:1.4em solid #0BDA51">2014</th><td>June: AutoIt v3.3.12.0 released</td></tr><tr><th scope="row" rowspan="2" style="border-right:1.4em solid #0BDA51">2015</th><td class="rt-first">July: AutoIt v3.3.14.0 and v3.3.14.1 released</td></tr><tr><td class="rt-last">September: AutoIt v3.3.14.2 released<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2016</th></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2017</th></tr><tr><th scope="row" rowspan="2" style="border-right:1.4em solid #0BDA51">2018</th><td class="rt-first">February: AutoIt v3.3.14.3 released<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup></td></tr><tr><td class="rt-last">March: AutoIt v3.3.14.5 released<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2019</th></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2020</th></tr><tr><th scope="row" style="border-right:1.4em solid #228B22">2021</th></tr><tr><th scope="row" rowspan="2" style="border-right:1.4em solid #0BDA51">2022</th><td class="rt-first">March: AutoIt v3.3.16.0 released</td></tr><tr><td class="rt-last">September: AutoIt v3.3.16.1 released</td></tr></tbody></table>
</div>
<p>AutoIt1 and AutoIt2 were closed-source projects, and had a very different syntax than AutoIt3, whose syntax is more like <a href="VBScript" title="VBScript">VBScript</a> and BASIC.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup>
</p><p>AutoIt3 was initially <a href="Free_and_open-source" class="mw-redirect" title="Free and open-source">free and open-source</a>, licensed under the terms of the <a href="GNU_General_Public_License" title="GNU General Public License">GNU General Public License</a>,<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> with its initial public release 3.0.100 in February 2004,<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> and had open-source releases in March 2004 and August 2004. Version 3.0.102, released in August 2004, was initially open-source, but by January 2005 was distributed as closed-source.<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> Subsequent releases, starting from the February 2005 release of version 3.1.0, were all closed-source. Version 3.1.0 was also the first release with support for GUI scripts.
</p>
<div class="mw-heading mw-heading3"><h3 id="Related_projects">Related projects</h3></div>
<p>The free and open-source <a href="AutoHotkey" title="AutoHotkey">AutoHotkey</a> project derived 29 of its functions from the AutoIt 3.1 source code.<sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> The AutoHotkey syntax is quite different from AutoIt3 syntax, and rather resembles AutoIt2 syntax.
</p>
<div class="mw-heading mw-heading2"><h2 id="Features">Features</h2></div>
<p>AutoIt is typically used to produce <a href="Utility_software" title="Utility software">utility software</a> for <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a> and to automate routine tasks, such as systems management, monitoring, maintenance, or software installation. It is also used to simulate user interaction, whereby an application is "driven" (via automated form entry, keypresses, mouse clicks, and so on) to do things by an AutoIt script.
</p><p>AutoIt can also be used in <a href="Laboratory_automation#Low-cost_laboratory_automation" title="Laboratory automation">low-cost laboratory automation</a>. Applications include instrument synchronization, alarm monitoring and results gathering. Devices such as CNC routers and 3D-printers can also be controlled.<sup id="cite_ref-CheapLab_15-0" class="reference"><a href="#cite_note-CheapLab-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup>
</p>
<ul><li>64-bit code support from version 3.2.10.0</li>
<li>Add-on libraries and modules for specific apps</li>
<li>Automate sending user input and keystrokes to apps, as well as to individual controls within an app</li>
<li>Call functions in <a href="Dynamic-link_library" title="Dynamic-link library">DLL files</a></li>
<li>Compatible with <a href="User_Account_Control" title="User Account Control">User Account Control</a></li>
<li>Compiling into standalone executables</li>
<li>Create <a href="Graphical_user_interface" title="Graphical user interface">graphical user interfaces</a>, including message and input boxes</li>
<li>Include data files in the compiled file to be extracted when running</li>
<li>Manipulate windows and processes</li>
<li><a href="Object-oriented_programming" title="Object-oriented programming">Object-oriented</a> design through a library<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup></li>
<li>Play sounds, pause, resume, stop, seek, get the current position of the sound and get the length of the sound</li>
<li>Run console apps and access the <a href="Standard_streams" title="Standard streams">standard streams</a></li>
<li>Scripting language with BASIC-like structure for Windows</li>
<li>Simulate <a href="Mouse_(computing)" class="mw-redirect" title="Mouse (computing)">mouse</a> movements</li>
<li>Supports the <a href="Component_Object_Model" title="Component Object Model">component object model</a> (COM)</li>
<li>Supports <a href="Regular_expression" title="Regular expression">regular expressions</a></li>
<li>Supports <a href="Transmission_Control_Protocol" title="Transmission Control Protocol">TCP</a> and <a href="User_Datagram_Protocol" title="User Datagram Protocol">UDP</a> protocols</li>
<li>Unicode support from version 3.2.4.0</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Hello_world">Hello world</h3></div>
<div class="mw-highlight mw-highlight-lang-autoit mw-content-ltr" dir="ltr"><pre><span class="c1">; Make available a library of constant values.</span>
<span class="nb">#include</span> <span class="o"><</span><span class="n">MsgBoxConstants</span><span class="o">.</span><span class="n">au3</span><span class="o">></span>
<span class="c1">; Displays "Hello, world!" in a message box.</span>
<span class="nf">MsgBox</span><span class="p">(</span><span class="nv">$MB_SYSTEMMODAL</span><span class="p">,</span> <span class="s">"Title"</span><span class="p">,</span> <span class="s">"Hello, world!"</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading3"><h3 id="Automating_the_Windows_Calculator">Automating the Windows Calculator</h3></div>
<div class="mw-highlight mw-highlight-lang-autoit mw-content-ltr" dir="ltr"><pre><span class="c1">; Make available a library of constant values.</span>
<span class="nb">#include</span> <span class="o"><</span><span class="n">MsgBoxConstants</span><span class="o">.</span><span class="n">au3</span><span class="o">></span>
<span class="c1">; Display a message box with a timeout of 6 seconds.</span>
<span class="nf">MsgBox</span><span class="p">(</span><span class="nv">$MB_OK</span><span class="p">,</span> <span class="s">"Attention"</span><span class="p">,</span> <span class="s">"Avoid touching the keyboard or mouse during automation."</span><span class="p">,</span> <span class="mi">6</span><span class="p">)</span>
<span class="c1">; Run the Windows Calculator.</span>
<span class="nf">Run</span><span class="p">(</span><span class="s">"calc.exe"</span><span class="p">)</span>
<span class="c1">; Wait for the calculator to become active with a timeout of 10 seconds.</span>
<span class="nf">WinWaitActive</span><span class="p">(</span><span class="s">"[CLASS:CalcFrame]"</span><span class="p">,</span> <span class="s">""</span><span class="p">,</span> <span class="mi">10</span><span class="p">)</span>
<span class="c1">; If the calculator did not appear after 10 seconds then exit the script.</span>
<span class="nb">If</span> <span class="nf">WinExists</span><span class="p">(</span><span class="s">"[CLASS:CalcFrame]"</span><span class="p">)</span> <span class="o">=</span> <span class="mi">0</span> <span class="nb">Then</span> <span class="nb">Exit</span>
<span class="c1">; Automatically type the current year into the calculator.</span>
<span class="nf">Send</span><span class="p">(</span><span class="nv">@YEAR</span><span class="p">)</span>
<span class="c1">; Let's slow the script down a bit so we can see what's going on.</span>
<span class="nf">Sleep</span><span class="p">(</span><span class="mi">600</span><span class="p">)</span>
<span class="c1">; Automatically type in 'divide by 4', and then sleep 600 ms.</span>
<span class="nf">Send</span><span class="p">(</span><span class="s">"/4"</span><span class="p">)</span>
<span class="nf">Sleep</span><span class="p">(</span><span class="mi">600</span><span class="p">)</span>
<span class="c1">; Hit the return key to display the result, and sleep 600 ms.</span>
<span class="nf">Send</span><span class="p">(</span><span class="s">"{ENTER}"</span><span class="p">)</span>
<span class="nf">Sleep</span><span class="p">(</span><span class="mi">600</span><span class="p">)</span>
<span class="c1">; Copy the result to the clipboard using the Windows shortcut Ctrl+C.</span>
<span class="nf">Send</span><span class="p">(</span><span class="s">"^c"</span><span class="p">)</span>
<span class="c1">; Declare, and assign the contents of the clipboard to, a variable.</span>
<span class="nb">Local</span> <span class="nv">$fResult</span> <span class="o">=</span> <span class="nf">ClipGet</span><span class="p">()</span>
<span class="c1">; Check to see if the variable contains a decimal point or not.</span>
<span class="nb">If</span> <span class="nf">StringInStr</span><span class="p">(</span><span class="nv">$fResult</span><span class="p">,</span> <span class="s">"."</span><span class="p">)</span> <span class="nb">Then</span>
<span class="c1">; Display a message box with a timeout of 5 seconds.</span>
<span class="nf">MsgBox</span><span class="p">(</span><span class="nv">$MB_OK</span><span class="p">,</span> <span class="s">"Leap Year"</span><span class="p">,</span> <span class="nv">@YEAR</span> <span class="o">&</span> <span class="s">" is not a leap year."</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>
<span class="nb">Else</span>
<span class="c1">; This message will only display if the current year is a leap year.</span>
<span class="nf">MsgBox</span><span class="p">(</span><span class="nv">$MB_OK</span><span class="p">,</span> <span class="s">"Leap Year"</span><span class="p">,</span> <span class="nv">@YEAR</span> <span class="o">&</span> <span class="s">" is a leap year."</span><span class="p">,</span> <span class="mi">5</span><span class="p">)</span>
<span class="nb">EndIf</span>
<span class="c1">; Close the Windows calculator - always tidy up afterwards.</span>
<span class="nf">WinClose</span><span class="p">(</span><span class="s">"[CLASS:CalcFrame]"</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading3"><h3 id="Find_average">Find average</h3></div>
<div class="mw-highlight mw-highlight-lang-autoit mw-content-ltr" dir="ltr"><pre><span class="c1">; Find Average by JohnOne, modified by czardas</span>
<span class="nb">#include</span> <span class="o"><</span><span class="n">MsgBoxConstants</span><span class="o">.</span><span class="n">au3</span><span class="o">></span>
<span class="n">_Example</span><span class="p">()</span> <span class="c1">; Run the example.</span>
<span class="nb">Func</span> <span class="n">_Example</span><span class="p">()</span>
<span class="c1">; Display an input box and ask the user to enter some numbers separated by commas.</span>
<span class="nb">Local</span> <span class="nv">$sInput</span> <span class="o">=</span> <span class="nf">InputBox</span><span class="p">(</span><span class="s">"Find Average"</span><span class="p">,</span> <span class="s">"Enter some numbers separated by commas: 1,2,42,100,3"</span><span class="p">)</span>
<span class="c1">; If an error occurred then exit the script.</span>
<span class="nb">If</span> <span class="nv">@error</span> <span class="nb">Then</span> <span class="nb">Exit</span>
<span class="c1">; Populate an array with the user's input.</span>
<span class="nb">Local</span> <span class="nv">$aSplit</span> <span class="o">=</span> <span class="nf">StringSplit</span><span class="p">(</span><span class="nv">$sInput</span><span class="p">,</span> <span class="s">","</span><span class="p">)</span>
<span class="c1">; Pass the array to the function _Find_Average() and then check for errors.</span>
<span class="nb">Local</span> <span class="nv">$fAverage</span> <span class="o">=</span> <span class="n">_Find_Average</span><span class="p">(</span><span class="nv">$aSplit</span><span class="p">)</span>
<span class="nb">If</span> <span class="nv">@error</span> <span class="nb">Then</span> <span class="nb">Exit</span>
<span class="c1">; Display the result in a message box.</span>
<span class="nf">MsgBox</span><span class="p">(</span><span class="nv">$MB_OK</span><span class="p">,</span> <span class="s">"Find Average"</span><span class="p">,</span> <span class="s">"Result: "</span> <span class="o">&</span> <span class="nv">$fAverage</span><span class="p">)</span>
<span class="nb">EndFunc</span> <span class="c1">;==>_Example</span>
<span class="nb">Func</span> <span class="n">_Find_Average</span><span class="p">(</span><span class="nv">$aArray</span><span class="p">)</span>
<span class="c1">; If the input is not of the correct type (an array), then return an error along with the details.</span>
<span class="nb">If</span> <span class="nb">Not</span> <span class="nf">IsArray</span><span class="p">(</span><span class="nv">$aArray</span><span class="p">)</span> <span class="nb">Then</span> <span class="nb">Return</span> <span class="nf">SetError</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="nf">VarGetType</span><span class="p">(</span><span class="nv">$aArray</span><span class="p">))</span>
<span class="c1">; More detailed checks are possible, but for brevity just one is performed here.</span>
<span class="c1">; Declare a variable to store the sum of the numbers.</span>
<span class="nb">Local</span> <span class="nv">$iArraySum</span> <span class="o">=</span> <span class="mi">0</span>
<span class="c1">; Loop through the array.</span>
<span class="nb">For</span> <span class="nv">$i</span> <span class="o">=</span> <span class="mi">1</span> <span class="nb">To</span> <span class="nv">$aArray</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span>
<span class="c1">; Increment the sum by the number in each array element.</span>
<span class="nv">$iArraySum</span> <span class="o">+=</span> <span class="nf">Number</span><span class="p">(</span><span class="nv">$aArray</span><span class="p">[</span><span class="nv">$i</span><span class="p">])</span>
<span class="nb">Next</span>
<span class="c1">; Return the average rounded to 2 decimal places.</span>
<span class="nb">Return</span> <span class="nf">Round</span><span class="p">(</span><span class="nv">$iArraySum</span> <span class="o">/</span> <span class="nv">$aArray</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="mi">2</span><span class="p">)</span>
<span class="nb">EndFunc</span> <span class="c1">;==>_Find_Average</span>
</pre></div>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="AutoHotkey" title="AutoHotkey">AutoHotkey</a></li>
<li><a href="Automator_(software)" class="mw-redirect" title="Automator (software)">Automator</a> (for Macintosh)</li>
<li><a href="Expect" title="Expect">Expect</a></li>
<li><a href="IMacros" title="IMacros">iMacros</a></li>
<li><a href="Keyboard_Maestro" title="Keyboard Maestro">Keyboard Maestro</a> (for Macintosh)</li>
<li><a href="KiXtart" title="KiXtart">KiXtart</a></li>
<li><a href="Macro_Express" title="Macro Express">Macro Express</a></li>
<li><a href="Winbatch" class="mw-redirect" title="Winbatch">Winbatch</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap mw-references-columns"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/site/autoit/downloads/">"AutoIt Downloads"</a>. AutoIt<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/forum/topic/208263-autoit-33161-release-candidate/?do=findComment&comment=1503008">"AutoIt 3.3.16.1 Release Candidate"</a>. AutoIt. 2 June 2022<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/forum/index.php?s=&showtopic=22349&view=findpost&p=155491">"Reply by Jon (AutoIt creator) to a forum topic discussing correct pronunciation"</a>.</cite></span>
</li>
<li id="cite_note-Kaplan000-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-Kaplan000_4-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFKaplan2003" class="citation book cs1">Kaplan, Steve (2003). <i>Citrix Metaframe Access Suite for Windows Server 2003</i>. New York: McGraw-Hill. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>0-07-219566-5</bdi>.</cite></span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/wiki/User_Defined_Functions">"User Defined Functions"</a>. AutoIt. 2021-06-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-07-16</span></span>.</cite></span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/autoit3/docs/history.htm">"AutoIt History"</a>. <i>www.autoitscript.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2016-04-19</span></span>.</cite></span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><cite id="CITEREFBennett2018" class="citation web cs1">Bennett, Jonathan (February 2, 2018). <a rel="nofollow" class="external text" href="https://www.autoitscript.com/site/autoit-news/autoit-v3-3-14-3-released/">"AutoIt v3.3.14.3 Released"</a>.</cite></span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite id="CITEREFBennett2018" class="citation web cs1">Bennett, Jonathan (March 16, 2018). <a rel="nofollow" class="external text" href="https://www.autoitscript.com/site/autoit-news/autoit-v3-3-14-5-released/">"AutoIt v3.3.14.5 Released"</a>.</cite></span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20050211013725/http://www.autoitscript.com:80/autoit3/index.php">"AutoIt Scripting Language"</a>. Archived from <a rel="nofollow" class="external text" href="http://www.autoitscript.com:80/autoit3/index.php">the original</a> on 2005-02-11.</cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/forum/topic/7204-licensing-opinions/">"Licensing Opinions"</a>. <i>AutoIt</i>. 2005-05-02<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-10-05</span></span>. <q>The GPL license was chosen as it is generally accepted as the most restrictive</q></cite></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20050104172743/https://www.autoitscript.com/autoit3/docs/license.htm">"License"</a>. 2014-03-25. Archived from <a rel="nofollow" class="external text" href="https://www.autoitscript.com/autoit3/docs/license.htm">the original</a> on 2005-01-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-10-05</span></span>. <q>AutoIt is copyrighted software distributed under the terms of the GNU General Public License (hereinafter the "GPL")</q></cite></span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.autoitscript.com/autoit3/files/archive/autoit/">"Index of /autoit3/files/archive/autoit"</a>. <i>www.autoitscript.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2022-11-17</span></span>.</cite></span>
</li>
<li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20050206105706/http://www.autoitscript.com:80/autoit3/docs/">"AutoIt"</a>. Archived from <a rel="nofollow" class="external text" href="http://www.autoitscript.com:80/autoit3/docs/">the original</a> on 2005-02-06.</cite></span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.autohotkey.com/board/topic/2916-three-thumbs-up/">"Three thumbs up! - Offtopic"</a>. <i>AutoHotkey Community</i>.</cite></span>
</li>
<li id="cite_note-CheapLab-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-CheapLab_15-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFCarvalho2016" class="citation book cs1">Carvalho, Matheus C. (March 2016). <i>Practical Laboratory Automation: Made Easy with AutoIt</i>. Wiley V. pp. <span class="nowrap">5–</span>7. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-3-527-34158-0</bdi>. Topics Covered in this Book.</cite></span>
</li>
<li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20100226105014/http://autoitobject.origo.ethz.ch/">"AutoitObject – a library to use object-oriented design in autoit"</a>. February 26, 2010. Archived from <a rel="nofollow" class="external text" href="http://autoitobject.origo.ethz.ch">the original</a> on 2010-02-26<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-07-16</span></span>.</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><span class="official-website"><span class="url"><a rel="nofollow" class="external text" href="https://www.autoitscript.com">Official website</a></span></span> </li></ul>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */
.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}
/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox" aria-labelledby="Dialects_of_the_BASIC_programming_language_(list)202" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */
.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}
/* end https://en.wikipedia.org/ */
</style><div id="Dialects_of_the_BASIC_programming_language_(list)202" style="font-size:114%;margin:0 4em">Dialects of the <a href="BASIC" title="BASIC">BASIC</a> programming language (<a href="List_of_BASIC_dialects" title="List of BASIC dialects">list</a>)</div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Classic</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Microsoft" title="Microsoft">Microsoft</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Microsoft_BASIC" title="Microsoft BASIC">Microsoft BASIC</a></li>
<li>TRS-80 BASICs (<a href="Level_I_BASIC" title="Level I BASIC">Level I</a>, <a href="TRS-80_Level_II_BASIC" class="mw-redirect" title="TRS-80 Level II BASIC">Level II/III</a>)</li>
<li>Thomson <a href="Microsoft_Basic_1.0" title="Microsoft Basic 1.0">BASIC 1.0</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Texas_Instruments" title="Texas Instruments">Texas Instruments</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="TI-BASIC" title="TI-BASIC">TI-BASIC (calculators)</a></li>
<li><a href="TI_Extended_BASIC" class="mw-redirect" title="TI Extended BASIC">TI Extended BASIC</a> (aka XBasic)</li>
<li><a href="TI-BASIC_83" title="TI-BASIC 83">TI-BASIC 83</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Hewlett-Packard" title="Hewlett-Packard">Hewlett-Packard</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="HP_Time-Shared_BASIC" title="HP Time-Shared BASIC">HP Time-Shared BASIC</a></li>
<li><a href="Rocky_Mountain_BASIC" title="Rocky Mountain BASIC">Rocky Mountain BASIC</a></li>
<li><a href="HP_Time-Shared_BASIC" title="HP Time-Shared BASIC">HP Basic</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Locomotive_Software" title="Locomotive Software">Locomotive Software</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Locomotive_BASIC" title="Locomotive BASIC">Locomotive BASIC</a></li>
<li><a href="Mallard_BASIC" title="Mallard BASIC">Mallard BASIC</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Microcomputer" title="Microcomputer">Microcomputers</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Atom_BASIC" class="mw-redirect" title="Atom BASIC">Atom BASIC</a></li>
<li><a href="Integer_BASIC" title="Integer BASIC">Integer BASIC</a></li>
<li><a href="North_Star_BASIC" title="North Star BASIC">North Star BASIC</a></li>
<li><a href="SCELBAL" title="SCELBAL">SCELBAL</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Minicomputer" title="Minicomputer">Minicomputers</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="BASIC-11" title="BASIC-11">BASIC-11</a></li>
<li><a href="Business_Basic" title="Business Basic">Business Basic</a> (<a href="B32_Business_Basic" title="B32 Business Basic">B32</a>, <a href="Data_General_Business_Basic" title="Data General Business Basic">Data General</a>)</li>
<li><a href="Data_General_Extended_BASIC" title="Data General Extended BASIC">Data General Extended BASIC</a></li>
<li><a href="Southampton_BASIC_System" title="Southampton BASIC System">Southampton BASIC System</a></li>
<li><a href="Wang_BASIC" title="Wang BASIC">Wang BASIC</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Time-sharing" title="Time-sharing">Time-sharing</a> computers</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="BASIC-PLUS" title="BASIC-PLUS">BASIC-PLUS</a></li>
<li>Extra! Basic Macro Language</li>
<li><a href="VSI_BASIC_for_OpenVMS" title="VSI BASIC for OpenVMS">VSI BASIC for OpenVMS</a></li>
<li><a href="SUPER_BASIC" title="SUPER BASIC">SUPER BASIC</a></li>
<li><a href="CALL/360%3ABASIC" title="CALL/360:BASIC">CALL/360:BASIC</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Other</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="AlphaBasic" title="AlphaBasic">AlphaBasic</a></li>
<li><a href="Astro_BASIC" class="mw-redirect" title="Astro BASIC">Astro BASIC</a></li>
<li><a href="BASICODE" title="BASICODE">BASICODE</a></li>
<li><a href="Business_application_language" title="Business application language">BAL</a></li>
<li><a href="Casio_BASIC" title="Casio BASIC">Casio BASIC</a></li>
<li><a href="CBASIC" title="CBASIC">CBASIC</a></li>
<li><a href="PBASIC" title="PBASIC">PBASIC</a></li>
<li><a href="SDS_BASIC" title="SDS BASIC">SDS BASIC</a></li>
<li><a href="Tiny_BASIC" title="Tiny BASIC">Tiny BASIC</a></li>
<li><a href="UBASIC" title="UBASIC">UBASIC</a></li>
<li><a href="ZBasic" title="ZBasic">ZBasic</a></li>
<li>ETBASIC</li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="BASIC_extension" title="BASIC extension">Extenders</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="BASIC_8" title="BASIC 8">BASIC 8</a></li>
<li>Graphics BASIC</li>
<li><a href="Simons'_BASIC" title="Simons' BASIC">Simons' BASIC</a></li>
<li><a href="Super_Expander" title="Super Expander">Super Expander</a></li>
<li><a href="Super_Expander_64" title="Super Expander 64">Super Expander 64</a></li>
<li><a href="YS_MegaBasic" title="YS MegaBasic">YS MegaBasic</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Procedural_programming" title="Procedural programming">Procedure</a>-<br>oriented</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Proprietary_software" title="Proprietary software">Proprietary</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="AmigaBASIC" class="mw-redirect" title="AmigaBASIC">AmigaBASIC</a></li>
<li><a href="AMOS_(programming_language)" title="AMOS (programming language)">AMOS BASIC</a></li>
<li><a href="ASIC_programming_language" title="ASIC programming language">ASIC</a></li>
<li><a href="BasicX" title="BasicX">BasicX</a></li>
<li><a href="Beta_BASIC" title="Beta BASIC">Beta BASIC</a></li>
<li><a href="FutureBASIC" title="FutureBASIC">FutureBASIC</a></li>
<li><a href="GRASS_(programming_language)" title="GRASS (programming language)">GRASS</a></li>
<li><a href="Liberty_BASIC" title="Liberty BASIC">Liberty BASIC</a></li>
<li><a href="LSE_(programming_language)" title="LSE (programming language)">LSE</a></li>
<li><a href="MapBasic" title="MapBasic">MapBasic</a></li>
<li><a href="Mobile_BASIC" title="Mobile BASIC">Mobile BASIC</a></li>
<li><a href="OWBasic" class="mw-redirect" title="OWBasic">OWBasic</a></li>
<li><a href="PowerBASIC" title="PowerBASIC">PowerBASIC</a></li>
<li><a href="PureBasic" title="PureBasic">PureBasic</a></li>
<li><a href="Petit_Computer" title="Petit Computer">SmileBASIC</a></li>
<li><a href="Tiger-BASIC" title="Tiger-BASIC">Tiger-BASIC</a></li>
<li><a href="True_BASIC" title="True BASIC">True BASIC</a></li>
<li><a href="Turbo_Basic" class="mw-redirect" title="Turbo Basic">Turbo Basic</a></li>
<li><a href="WordBASIC" title="WordBASIC">WordBASIC</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Free_and_open_source" class="mw-redirect" title="Free and open source">Free and<br>open source</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Basic-256" title="Basic-256">Basic-256</a></li>
<li><a href="Basic4GL" title="Basic4GL">Basic4GL</a></li>
<li><a href="BBC_BASIC#Acorn_Archimedes_(RISC_OS)" title="BBC BASIC">BBC BASIC V</a></li>
<li><a href="The_Game_Creators" title="The Game Creators">DarkBASIC</a></li>
<li><a href="Euphoria_(programming_language)" title="Euphoria (programming language)">Euphoria</a></li>
<li><a href="Hindawi_Programming_System" title="Hindawi Programming System">Indic BASIC</a></li>
<li><a href="Open_Programming_Language" title="Open Programming Language">Open Programming Language</a></li>
<li><a href="SdlBasic" title="SdlBasic">SdlBasic</a></li>
<li><a href="SmallBASIC" title="SmallBASIC">SmallBASIC</a></li>
<li><a href="QB64" title="QB64">QB64</a></li>
<li><a href="WxBasic" title="WxBasic">wxBasic</a></li>
<li><a href="XBasic" title="XBasic">XBasic</a></li>
<li><a href="XBLite" title="XBLite">Xblite</a></li>
<li><a href="Yabasic" title="Yabasic">Yabasic</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">With <a href="Object-oriented_programming" title="Object-oriented programming">object</a><br>extensions</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Proprietary_software" title="Proprietary software">Proprietary</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul>
<li><a href="Chipmunk_Basic" title="Chipmunk Basic">Chipmunk Basic</a></li>
<li><a href="GLBasic" title="GLBasic">GLBasic</a></li>
<li><a href="LotusScript" title="LotusScript">LotusScript</a></li>
<li><a href="Morfik" title="Morfik">Morfik</a></li>
<li><a href="PowerBASIC" title="PowerBASIC">PowerBASIC</a></li>
<li>ProvideX</li>
<li>Run BASIC</li>
<li><a href="Visual_Basic_for_Applications" title="Visual Basic for Applications">VBA</a></li>
<li><a href="VBScript" title="VBScript">VBScript</a></li>
<li>VB 5 for <a href="Microsoft_Excel" title="Microsoft Excel">Microsoft Excel</a> 5.0
<ul><li><a href="Visual_Studio_Tools_for_Office" title="Visual Studio Tools for Office">VSTO</a></li>
<li><a href="Visual_Studio_Tools_for_Applications" title="Visual Studio Tools for Applications">VSTA</a></li></ul></li>
<li><a href="Embedded_Visual_Basic" title="Embedded Visual Basic">Embedded Visual Basic</a></li>
<li>WinWrap Basic</li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Free_and_open_source" class="mw-redirect" title="Free and open source">Free and<br>open source</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Blitz_BASIC" title="Blitz BASIC">BlitzMax</a></li>
<li><a href="FreeBASIC" title="FreeBASIC">FreeBASIC</a></li>
<li><a href="Microsoft_Small_Basic" title="Microsoft Small Basic">Microsoft Small Basic</a></li>
<li><a href="Mono_(software)" title="Mono (software)">Mono-Basic</a></li>
<li><a href="OpenOffice_Basic" title="OpenOffice Basic">OpenOffice Basic</a></li>
<li>ScriptBasic</li>
<li><a href="Roslyn_(compiler)" title="Roslyn (compiler)">Roslyn</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Rapid_application_development" title="Rapid application development">RAD</a><br><a href="GUI_designer" class="mw-redirect" title="GUI designer">designers</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Proprietary_software" title="Proprietary software">Proprietary</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="CA-Realizer" title="CA-Realizer">CA-Realizer</a></li>
<li><a href="Visual_Basic_(classic)" title="Visual Basic (classic)">Visual Basic (classic)</a></li>
<li><a href="NS_Basic" title="NS Basic">NS Basic</a></li>
<li><a href="RapidQ" title="RapidQ">RapidQ</a></li>
<li><a href="Visual_Basic_(.NET)" title="Visual Basic (.NET)">Visual Basic .NET</a> (<a href="Mercury_(RemObjects_BASIC_programming_language)" title="Mercury (RemObjects BASIC programming language)">Mercury</a>)</li>
<li><a href="Xojo" title="Xojo">Xojo</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Free_and_open_source" class="mw-redirect" title="Free and open source">Free and<br>open source</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li>B4X (<a href="Basic4android" title="Basic4android">Basic4android</a>, <a href="Basic4ppc" title="Basic4ppc">Basic4ppc</a>)</li>
<li><a href="Gambas" title="Gambas">Gambas</a></li>
<li><a href="FreeBASIC" title="FreeBASIC">WinFBE, Visual FB Editor</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Defunct</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Altair_BASIC" title="Altair BASIC">Altair BASIC</a></li>
<li><a href="Applesoft_BASIC" title="Applesoft BASIC">Applesoft BASIC</a></li>
<li><a href="Apple_Business_BASIC" title="Apple Business BASIC">Apple Business BASIC</a></li>
<li><a href="Atari_BASIC" title="Atari BASIC">Atari BASIC</a></li>
<li><a href="Atari_Microsoft_BASIC" title="Atari Microsoft BASIC">Atari Microsoft BASIC</a></li>
<li><a href="Atari_ST_BASIC" title="Atari ST BASIC">Atari ST BASIC</a></li>
<li><a href="BASIC_A%2B" title="BASIC A+">BASIC A+</a></li>
<li><a href="Optimized_Systems_Software#BASIC_XE" title="Optimized Systems Software">BASIC XE</a></li>
<li><a href="Optimized_Systems_Software#BASIC_XL" title="Optimized Systems Software">BASIC XL</a></li>
<li><a href="BASIC_Programming" title="BASIC Programming"><i>BASIC Programming</i> (Atari 2600)</a></li>
<li><a href="BBC_BASIC" title="BBC BASIC">BBC BASIC</a></li>
<li><a href="Benton_Harbor_BASIC" title="Benton Harbor BASIC">Benton Harbor BASIC</a></li>
<li><a href="Chinese_BASIC" title="Chinese BASIC">Chinese BASIC</a></li>
<li><a href="Commodore_BASIC" title="Commodore BASIC">Commodore BASIC</a></li>
<li><a href="Color_BASIC" title="Color BASIC">Color BASIC</a></li>
<li><a href="Dartmouth_BASIC" title="Dartmouth BASIC">Dartmouth BASIC</a></li>
<li><a href="Disk_Extended_Color_BASIC" title="Disk Extended Color BASIC">Disk Extended Color BASIC</a></li>
<li><a href="Extended_Color_BASIC" title="Extended Color BASIC">Extended Color BASIC</a></li>
<li><a href="Family_BASIC" title="Family BASIC">Family BASIC</a></li>
<li><a href="GFA_BASIC" title="GFA BASIC">GFA BASIC</a></li>
<li><a href="GW-BASIC" title="GW-BASIC">GW-BASIC</a></li>
<li><a href="IBM_BASIC" title="IBM BASIC">IBM BASIC</a></li>
<li><a href="JR-BASIC" title="JR-BASIC">JR-BASIC</a></li>
<li><a href="MacBASIC" title="MacBASIC">MacBASIC</a></li>
<li><a href="MBASIC" title="MBASIC">MBASIC</a></li>
<li><a href="MSX_BASIC" title="MSX BASIC">MSX BASIC</a></li>
<li><a href="MS_BASIC_for_Macintosh" title="MS BASIC for Macintosh">MS BASIC for Macintosh</a></li>
<li><a href="QBasic" title="QBasic">QBasic</a></li>
<li><a href="QuickBASIC" title="QuickBASIC">QuickBASIC</a></li>
<li><a href="S-BASIC" title="S-BASIC">S-BASIC</a></li>
<li><a href="Sinclair_BASIC" title="Sinclair BASIC">Sinclair BASIC</a></li>
<li><a href="STOS_BASIC" title="STOS BASIC">STOS BASIC</a></li>
<li><a href="SuperBASIC" title="SuperBASIC">SuperBASIC</a></li>
<li><a href="TI_BASIC_(TI_99/4A)" title="TI BASIC (TI 99/4A)">TI BASIC (TI 99/4A)</a></li>
<li><a href="Turbo-BASIC_XL" title="Turbo-BASIC XL">Turbo-BASIC XL</a></li>
<li><a href="Vilnius_BASIC" title="Vilnius BASIC">Vilnius BASIC</a></li></ul>
</div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-07-29" href="https://en.wikipedia.org/wiki/?title=AutoIt&oldid=1303148317">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>